package com.duan.common.enums;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created by duanlsh on 18/6/14.
 */
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Getter
public enum ResponseENUM {

    SUCCESS(0, "成功"),
    FAIL(1,"失败"),
    FAIL_TOKEN(-1,"token有误"),
    ;

    private int code;
    private String message;

}
